package com.samebuilding.dao;

import java.util.List;

import com.samebuilding.domain.Photo;
import com.samebuilding.domain.User;

public interface PhotoDAO extends GenericDAO<Photo, Integer>{
	public List<Photo> getPhotoByCategoryCode(int categoryCode,int start ,int limit);
	public long getTotalCountyCategoryCode(int categoryId);
	public List<Photo> getTopPhotoByUserNo(int userNo,int count);
	public void addViewer(int photoID,User viewer);
}